package java_1_8.interface_test;

public class MessageImpl implements IMessage,INews{
    @Override
    public String msg() {
        return "hello bit";
    }
    @Override
    public void getNews() {
        System.out.println("hello news");
    }
    public static void main(String[] args) {
        IMessage message=new MessageImpl();
        System.out.println(message.msg());
    }
}
